﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Trade.Journal
{
    /// <summary>
    /// TradeRoadmap.xaml 的交互逻辑
    /// </summary>
    public partial class TradeRoadmap : UserControl
    {
        public TradeRoadmap()
        {
            InitializeComponent();
        }



        public string Current
        {
            get { return (string)GetValue(CurrentProperty); }
            set { SetValue(CurrentProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Current.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty CurrentProperty =
            DependencyProperty.Register("Current", typeof(string), typeof(TradeRoadmap), new PropertyMetadata(string.Empty));




        public RoadMap Records
        {
            get { return (RoadMap)GetValue(RecordsProperty); }
            set { SetValue(RecordsProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Records.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty RecordsProperty =
            DependencyProperty.Register("Records", typeof(RoadMap), typeof(TradeRoadmap), new PropertyMetadata(null));

        private void ListView_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {

        }

        private void Hyperlink_Click(object sender, RoutedEventArgs e)
        {

        }
    }



}
